from frontend import *
from command import cmd

parser=parse.Parser() #create a parser.
#starts interpreting.
def interpret():
  c=cmd(parser) #get a command shell, passing the parser.
  c.start() #start excepting commands.

if __name__=="__main__": #if the user typed "python smartles.py" or some such,
 interpret()  #start interpreting.